package com.shop.cereshop.business.service.billing;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.cereshop.business.param.billing.CereShopBillingUpdateParam;
import com.shop.cereshop.commons.domain.billing.CereShopBilling;
import com.shop.cereshop.commons.domain.billing.bo.CereShopBillingBo;
import com.shop.cereshop.commons.domain.billing.vo.CereShopBillingVo;

import java.util.List;

public interface CereShopBillingService extends IService<CereShopBilling> {

    void addBilling(CereShopBillingBo bo);

    CereShopBilling queryByBuyerUserIdAndSkuId(Long buyerUserId, Long skuId);

    List<CereShopBillingVo> queryList(Long buyerUserId,Long shopId);

    Boolean updateSku(CereShopBillingUpdateParam param);
}
